package com.github.szhittech.bean;

import java.io.Serializable;

public class ClassBean<T> implements Serializable {
    private Class<T> clazz;
    private Class<T>[] paramTypes;
    private Object[] args;

    public ClassBean(Class<T> clazz) {
        this.clazz = clazz;
    }

    public ClassBean parmType(Class<T>... parameterTypes) {
        paramTypes = parameterTypes;
        return this;
    }

    public ClassBean args(Object... initargs) {
        args = initargs;
        return this;
    }

    public Class<?> getClazz() {
        return clazz;
    }

    public Class<?>[] getParamTypes() {
        return paramTypes;
    }

    public Object[] getArgs() {
        return args;
    }

}
